package com.orange.eduservice.client;

import com.orange.commonutils.vo.UcenterMemberVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author orange
 * @email orangestart@yeah.net
 * @create 2021-12-27 20:06
 */
@Component
@FeignClient(name = "service-ucenter")
public interface UcenterClient {
    //根据用户id查询用户信息
    @GetMapping("/serviceUcenter/ucenter-member/getUserInfoById/{memberId}")
    UcenterMemberVo getUserInfoById(@PathVariable("memberId") String memberId);
}
